package com.clouds.wms.dao;
import com.clouds.wms.bean.Purmd;
import com.clouds.wms.exception.DatabaseException;
import com.clouds.wms.util.PagesBean;

public interface PurmdDao {
	PagesBean getPurmdList(String mcaa, String mcab, int offset,int pageSize) throws DatabaseException;
	int savePurmd(Purmd purmd) throws DatabaseException;
	int updatePurmd(Purmd purmd) throws DatabaseException;
	int getMaxMdac() throws DatabaseException;
	int delPurmd(String mdaa,String mdab,String mdacs) throws DatabaseException;
	int changeStatus(String mdaa, String mdab, String status)throws DatabaseException;
	void delPurmdByAaAb(String mcaa, String mcab)throws DatabaseException;
}
